--- ./lib/filterliststore.py.orig	2012-09-16 03:19:48.000000000 +0000
+++ ./lib/filterliststore.py	2014-07-15 21:27:52.000000000 +0000
@@ -1,9 +1,13 @@
 from datetime import datetime
 import time
+import sys
 
 from twisted.internet import reactor
 from utils.liststorebase import ListStoreBase, SaveListStoreBase
 
+_encoding = sys.getfilesystemencoding()
+if _encoding is None:
+    _encoding = 'utf-8'
 
 class FilterColumn(object):
 
@@ -92,4 +96,4 @@
     expiration_unit = '' if not expire_epoch \
         else _("days") if timedelta.days else _("hours")
 
-    return str(expiration_value), str(expiration_unit.encode('utf-8'))
+    return str(expiration_value), str(expiration_unit.encode(_encoding))
